package nfwx.analytics;

/**
 * 采集参数：WiFi信息
 */

public class GrabWiFiInfo extends GrabObject {
    public final GrabBoolean exists; //是否存在WiFi
    public final GrabBoolean enabled; //是否启用了WiFi
    public final GrabBoolean connected; //是否连接了WiFi
    public final GrabString SSID;
    public final GrabString BSSID;
    public final GrabNumber speed; //WiFi 速度,单位Mbps
    public final GrabString type; //WiFi 制式, a/b/g/n/ac/ad/ax
    
    GrabWiFiInfo()
    {
        super(false);
        exists = (GrabBoolean)defineProperty("exists", new GrabBoolean(false));
        enabled = (GrabBoolean)defineProperty("enabled", new GrabBoolean(false));
        connected = (GrabBoolean)defineProperty("connected", new GrabBoolean(false));
        SSID = (GrabString)defineProperty("SSID", new GrabString(false));
        BSSID = (GrabString)defineProperty("BSSID", new GrabString(false));
        type = (GrabString)defineProperty("type", new GrabString(false));
        speed = (GrabNumber) defineProperty("speed", new GrabNumber(false));
    }
}
